Skip to content

Instantly share code, notes, and snippets.

@cmj
cmj / nitter_instances.md
Last active November 9, 2026 07:46
Active Nitter instances

About Awk

Awk is a text processing language that comes standard with most distributions of Linux/Unix. In my personal experience, awk is faster at parsing, filtering, and writing text files than either python or R with few exceptions. This cheat sheet goes over the basic awk commands that I use the most.

How does awk work

Awk processes a text file line by line and is used to apply some condition to each based on its contents. I have found the most use for it on text files of large matrices (that is text files with distinct, consistent columns) or on text that has clear consistent delimeters. Awk interpretes each column in your line and stores it as a variable from 1 to n where n is the number of columns you have. Say you have a file that looks as such:

ID  gene_name type  start stop Chr
ENSG0 C1orf22 protein_coding 178965 183312 chr2
@L1nefeed
L1nefeed / asd-ste100.md
Last active November 9, 2026 07:45
ASD-STE100 Claude Code Output Style
name ASD-STE100
description Simplified Technical English for agent output — one meaning per word, active voice, simple tenses, short sentences
keep-coding-instructions true

ASD-STE100 Output Style (Simplified Technical English)

You write all prose output in Simplified Technical English, adapted from the ASD-STE100 standard (Issue 9). The aerospace industry built this standard so that a reader cannot misread an instruction. Apply the same discipline to everything you write to the user: answers, summaries, status updates, explanations, and instructions.

@amno1
amno1 / open-with.el
Last active November 9, 2026 07:45
open-with.el hacked for my own taste ...
;;; openwith.el --- Open files with external programs -*- lexical-binding: t; -*-
;; <2020-04-10 fre> A. Miller
;; Hacked openwith to not be a minor mode.
;; The handler is now changed to be interactive function so it can be bound
;; to a key and invoked manually when desired instead of being a global handler.
;; Assumes invocation from a dired buffer, so the name is changed
;; to reflect the prefered use case.
;; Copyright (C) 2007 Markus Triska
@lltx
lltx / terminal-setup.md
Last active November 9, 2026 07:44
🚀 现代化终端配置指南 - Ghostty + Zoxide + Yazi + Oh-My-Zsh

🚀 现代化终端配置指南

Ghostty + Zoxide + Yazi + Oh-My-Zsh 完整配置

验证环境(2026-10-28):macOS 15.6.1、Zsh 5.9、Ghostty 1.4.0、Yazi 26.1.22。Yazi 配置已在本机读取核验。 Zoxide 和 Oh-My-Zsh 未做版本兼容性验证。

📦 工具列表

| 工具 | 用途 |

@adammyhre
adammyhre / RadialMenuRoot.uxml
Created April 12, 2026 11:06
UI Toolkit radial menu that uses the Painter API and Unity 6.3 gradients, layout, rendering, and input selection.
<ui:UXML xmlns:ui="UnityEngine.UIElements" editor-extension-mode="False">
<Style src="RadialMenuStyles.uss" />
<ui:VisualElement name="radial-root" class="radial-root" picking-mode="Ignore">
<ui:VisualElement name="dimmer" class="radial-dimmer" picking-mode="Position" />
<ui:VisualElement name="wheel" class="radial-wheel" picking-mode="Ignore">
<ui:VisualElement name="items-host" class="radial-items-host" picking-mode="Position" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@0xfauzi
0xfauzi / agents-md-best-practices.md
Created October 17, 2025 11:08
Agents.md best practices

AGENTS.md Best Practices for AI Coding Assistants: Comprehensive Guide

AGENTS.md has emerged as the de facto open standard for guiding AI coding assistants, now adopted by over 20,000 repositories and formalized in August 2025 through collaboration between OpenAI, Google, Cursor, Factory, and Sourcegraph. This file acts as a "README for machines"—providing structured, technical context that helps AI assistants write better code from the start. For Python + AWS + Terraform projects, a well-crafted AGENTS.md dramatically reduces friction, ensuring generated code follows your conventions, uses the right tools, and adheres to security requirements.

What is AGENTS.md and why it matters

AGENTS.md is a dedicated Markdown file that complements, not replaces, README.md. While README targets human developers with project overviews and quick-start guides, AGENTS.md contains detailed technical instructions specifically for AI coding agents. Think of it as onboarding documentation for an AI team member: ex

@imSp4rky
imSp4rky / decrypt_guide.py
Last active November 9, 2026 07:37
Decrypt Rested XP Guides
#!/usr/bin/env python3
"""Decrypt an RXP account-locked import .txt into the RXPDecryptedGuides addon.
Usage:
python decrypt_guide.py <import.txt> --zip
python decrypt_guide.py <import.txt> <wow_install | out_dir> [--zip]
The key is derived from your BattleTag, taken from the text after the last "!" in the
import filename. The guides become their own addon that depends on RXPGuides, so they load
on every account and survive RXPGuides updates. Rerun it whenever you get a newer guide .txt.
@synchronic1
synchronic1 / medina-14b-benchmark-paper.md
Created May 5, 2026 07:26
Medina 14B: Multi-GPU LoRA Hot-Swap Inference Benchmark

Medina 14B: Multi-GPU LoRA Hot-Swap Inference Benchmark

A Specialized Model Architecture for Dynamic Persona Adaptation

Date: 2026-05-05
Author: Peter (Synchronic1) / Carlsson Creative
Host: VM104 (192.168.1.243), Proxmox VM on Dell PowerEdge T630
llama.cpp Version: 8240 (d088d5b74)


LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.